package common

/**
 * description：
 * <p>
 * </p>
 * change history:
 * date                      defect#    person       comments
 * -------------------------------------------------------------<p>
 * 2023/10/8 10:37          ********    kong.ruo    create file.
 *
 * @author kong.ruo
 * @date 2023/10/8 10:37
 *
 * @since go 1.20
 */

const (
	SELECT_TEMPLATE = "SELECT %s FROM %s%s"
	UPDATE_TEMPLATE = "UPDATE %s %s%s"
	INSERT_TEMPLATE = "INSERT INTO %s(%s) VALUES(%s)"
	DELETE_TEMPLATE = "DELETE FROM %s %s"
)

const (
	SQL_AND   = "AND"
	SQL_WHERE = "WHERE"
	SQL_FROM  = "FROM"
	SQL_GROUP = "GROUP BY"
	SQL_ORDER = "ORDER BY"
	SQL_DESC  = "DESC"
	SQL_ASC   = "ASC"
	SQL_JOIN  = "JOIN"
	SQL_ON    = "ON"
	SQL_SET   = "SET"
	SQL_LEFT  = "LEFT"
	SQL_RIGHT = "RIGHT"
)
